//
//  QASectionSegView.h
//  BaseProject
//
//  Created by 王洋 on 2021/1/6.
//  Copyright © 2021 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, QAListHeaderActionType) {
    
    QAListHeaderActionType_hot,

    QAListHeaderActionType_new,
};

@interface QASectionSegView : UIView

//最新
@property (weak, nonatomic) IBOutlet UIButton *hotestBtn;
@property (weak, nonatomic) IBOutlet UIView *hotSlide;

//最热
@property (weak, nonatomic) IBOutlet UIButton *newestBtn;
@property (weak, nonatomic) IBOutlet UIView *newestSlide;

@property (nonatomic, copy) void(^QAListHeaderViewBlock)(QAListHeaderActionType type);

@end

NS_ASSUME_NONNULL_END
